
$blueprints = []

class Blueprint
  attr_accessor :engine
  attr_accessor :weapon_groups
  
  attr_accessor :chassis
  
  def construct
    vehicle = @chassis.new
    
    @engine.add_to vehicle
    
    group = 0
    @weapon_groups.each do |group|
      group = group + 1
      group.each do |weapon|
        weapon.add_to vehicle, group
      end
    end
  end
  
end

#def initialize_blueprints
#  b = Blueprint.new
#  b.engine = 
